<template>
    <div id="app">
        <abc v-model="title" @parentEvent="title = $event" :site="obj" />
        <button @click="title = 'chrome'">parent</button>
        {{ title }}
    </div>
</template>

<script>
import Abc from "./components/User.vue";
export default {
    name: "App",
    data() {
        return {
            title: "yahoo",
            obj: {
                name: "sina.com"
            }
        };
    },
    components: {
        Abc
    }
};
</script>

<style></style>
